package cn.sytton.taffe.job.mapper;

import cn.sytton.taffe.job.entity.JobLogEntity;
import cn.sytton.taffe.framework.base.mapper.LogSqlMapper;

import java.util.List;
import java.util.Map;

/**
 * 定时任务日志mapper
 *
 * @author skyrock
 */
public interface JobLogMapper extends LogSqlMapper<JobLogEntity> {
    /**
     * 查询运行次数
     * @param jobName 任务名称
     * @return
     */
    List<Map<String, Object>> findCountByJobName(String jobName);
}
